<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>瀑布流布局</title>
  <link rel="stylesheet" type="text/css" href="css/index.css">
</head>
<body>
  <div class="wrapper J_waterfall">
    <div class="wf-item"><img src="imgs/img1.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img2.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img3.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img4.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img5.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img1.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img2.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img3.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img4.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img5.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img1.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img2.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img3.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img4.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img5.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img1.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img2.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img3.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img4.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img5.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img1.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img2.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img3.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img4.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img5.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img1.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img2.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img3.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img4.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img5.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img1.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img2.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img3.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img4.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img5.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img1.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img2.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img3.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img4.jpg" alt="" class="wf-img"></div>
    <div class="wf-item"><img src="imgs/img5.jpg" alt="" class="wf-img"></div>
  </div>

  <script type="text/javascript" src="./js/index.js"></script>

  <script type="text/javascript">
    new Waterfall({
      el: "J_waterfall",
      column: 5,
      gap: 10
    });

  </script>
</body>
</html>